//
//  XNPageView.h
//  Project
//
//  Created by Z on 2019/6/28.
//  Copyright © 2019年 YANJING. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface XNPageView : UIView

@property (nonatomic) NSInteger numberOfPages;//总页数
@property (nonatomic) NSInteger currentPage;//当前页
@property (nonatomic) CGSize normalSize;
@property (nonatomic) CGSize selectSize;
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *selectColor;

@property (nonatomic) CGFloat gap;//间隔
@property (nonatomic) CGFloat offset;//相对中间偏移
@property (nonatomic) BOOL singleHide;//单个隐藏
@property (nonatomic) BOOL pageAnimation;//移动
@end

NS_ASSUME_NONNULL_END
